// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BPT_DRAW_BLUEPRINT_ITEM
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BptDrawBlueprintItemTable : TableInfo
    {
		public const string C_TableName = "BPT_DRAW_BLUEPRINT_ITEM";
		
		public const string C_ITEM_ID = "ITEM_ID";
		public const string C_DRAW_BLUEPRINT_ID = "DRAW_BLUEPRINT_ID";
		public const string C_BLUEPRINT_ID = "BLUEPRINT_ID";
		public const string C_FINISHED_DATE = "FINISHED_DATE";
		public const string C_STATUS = "STATUS";
		public const string C_REMARK = "REMARK";
		
		public BptDrawBlueprintItemTable()
        {
            _tableName = "BPT_DRAW_BLUEPRINT_ITEM";
        }
		
		protected static BptDrawBlueprintItemTable _current;
        public static BptDrawBlueprintItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BptDrawBlueprintItemTable();

            _current.Add(C_ITEM_ID, new ColumnInfo(C_ITEM_ID,"ItemId", true, typeof(string)));
            _current.Add(C_DRAW_BLUEPRINT_ID, new ColumnInfo(C_DRAW_BLUEPRINT_ID,"DrawBlueprintId", false, typeof(string)));
            _current.Add(C_BLUEPRINT_ID, new ColumnInfo(C_BLUEPRINT_ID,"BlueprintId", false, typeof(string)));
            _current.Add(C_FINISHED_DATE, new ColumnInfo(C_FINISHED_DATE,"FinishedDate", false, typeof(DateTime)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ITEM_ID
        {
            get { return this[C_ITEM_ID]; }
        }
		
		public ColumnInfo DRAW_BLUEPRINT_ID
        {
            get { return this[C_DRAW_BLUEPRINT_ID]; }
        }
		
		public ColumnInfo BLUEPRINT_ID
        {
            get { return this[C_BLUEPRINT_ID]; }
        }
		
		public ColumnInfo FINISHED_DATE
        {
            get { return this[C_FINISHED_DATE]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

